﻿using ST.Buz.Base.ViewModel;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ST.Buz.Base.Entity
{
	public partial class IMS_Partner
	{
		[NotMapped]
		public string TypeText
		{
			get
			{
				return Type > 0 ? ((ST.Buz.Base.Enums.PartnerType)Type).ToString() : "";
			}
		}

		[NotMapped]
		public string GenderText
		{
			get
			{
				return Gender > 0 ? ((ST.Buz.Base.Enums.Gender)Gender).ToString() : "";
			}
		}

		[NotMapped]
		public string CatName { get; set; }

	}
}
